package com.happyelements.display.rendering
{
	import flash.geom.Point;
	import flash.geom.Rectangle;
	import flash.display.BitmapData;
	
	/**
	 *
	 * @author Steven
	 *
	 */
	public interface IRenderer
	{
		function paint(canvas:BitmapData, rect:Rectangle, x:Number, y:Number):void;
		
		function hitTest(x:Number, y:Number):Boolean;
		
		function get currentOriginOffset():Point;
		
		function get currentWidth():Number;
		
		function get currentHeight():Number;
		
		function get scale():Number;
		
		function set scale(value:Number):void;
		
		function get alpha():Number
		
		function set alpha(value:Number):void;
	}
}